import { get } from '@/utils/request'

// 获取列表
export function getTotal() {
  return get('/statics/total', {})
}

export function getHospitalTotal() {
  return get('/statics/total/hospital/list', {})
}

export function getOrderTotalLine() {
  return get('/statics/total/line/order', {})
}

export function getUserTotalLine() {
  return get('/statics/total/line/user', {})
}

export function getTodayTotal() {
  return get('/statics/today', {})
}

export function getHospitalToday() {
  return get('/statics/today/hospital', {})
}

export function getHospitalItemTotal(hospitalId) {
  return get('/statics/hospital/total', { hospitalId: hospitalId })
}

export function getHospitalItemToday(hospitalId) {
  return get('/statics/hospital/today', { hospitalId: hospitalId })
}

export function getHospitalFloor(hospitalId) {
  return get('/statics/hospital/floor', { hospitalId: hospitalId })
}

export function getHospitalDepart(hospitalId) {
  return get('/statics/hospital/depart', { hospitalId: hospitalId })
}

export function getHospitalOrderLine(hospitalId) {
  return get('/statics/hospital/order/line', { hospitalId: hospitalId })
}

export function getFloorOrderLine(floorId) {
  return get('/statics/hospital/floor/line', { floorId: floorId })
}

export function getDepartOrderLine(departId) {
  return get('/statics/hospital/depart/line', { departId: departId })
}
